package com.azure.apachedubbo.xml.provider;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication
@ImportResource("classpath:spring-dubbo.xml") //使用配置xml配置文件
//@EnableDubbo(scanBasePackages = "com.azure.apachedubbo.xml.consumer.service") //使用注解
public class XMLProviderApplication {
    public static void main(String[] args) {
        SpringApplication.run(XMLProviderApplication.class,args);
    }
}
